package ModelImplementation

import "SPC/Model"

type DirectMethod struct {
	itsBank    string
	itsAccount string
}

func NewDirectMethod(bank string, account string) *DirectMethod {
	return &DirectMethod{
		bank,
		account,
	}
}

func (d *DirectMethod) GetBank() string {
	return d.itsBank
}

func (d *DirectMethod) GetAccount() string {
	return d.itsAccount
}

func (d *DirectMethod) Pay(pc Model.Paycheck) {
	pc.SetField("Disposition", "Direct")
}
